#include<bits/stdc++.h>
using namespace std;
bool zs(int a){
	if(a == 1){
		return false;
	}
	for(int i = 2 ; i <= sqrt(a) ; i++){
		if(a % i == 0){
			return false;
		}
	}
	return true;
}
int main(){
	freopen("guess.in" , "r" , stdin);
	freopen("guess.out" , "w" , stdout);
	int n;
	cin >> n;
	for(int i = 2 ; i <= n / 2 ; i++){
		if(zs(i) == true && zs(n - i) == true){
			cout << n << " = " << i << " + " << n - i << endl;
			break;
		}
	}
	return 0;
}